package com.aaa.sso.service;

import com.aaa.sso.feign.LoginLogFen;
import com.aaa.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author 崔灿
 * @Date 2023/02/28 20:22
 * @ClassName LoginLogService
 * @Description
 * @Version 1.0
 */

@Service
public class LoginLogService {
    @Autowired
    private LoginLogFen loginLogFen;

    public Result addLoginLog(@RequestBody com.aaa.entity.LoginLog loginLog){
        //System.out.println(loginLog+"/-/-//-/-/-/-/-//");
        Result i = loginLogFen.addLoginLog(loginLog);
        return i;
    }

}
